package com.ytjj.qmyx.mall.mapper;

import com.ytjj.qmyx.mall.model.ProductSpecial;
import com.ytjj.qmyx.mall.model.ProductSpecialExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ProductSpecialMapper {
    long countByExample(ProductSpecialExample example);

    int deleteByExample(ProductSpecialExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(ProductSpecial record);

    int insertSelective(ProductSpecial record);

    List<ProductSpecial> selectByExample(ProductSpecialExample example);

    ProductSpecial selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") ProductSpecial record, @Param("example") ProductSpecialExample example);

    int updateByExample(@Param("record") ProductSpecial record, @Param("example") ProductSpecialExample example);

    int updateByPrimaryKeySelective(ProductSpecial record);

    int updateByPrimaryKey(ProductSpecial record);
}